package com.da.web.dorm_storey.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.da.cache.MyCache;
import com.da.web.dorm_storey.entity.DormStorey;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author da
 * @time 2023/12/8 下午 12:38
 */
@CacheNamespace(implementation = MyCache.class, eviction = MyCache.class)
public interface DormStoreyMapper extends BaseMapper<DormStorey> {
    //新增楼层
    void addDorm(@Param("list") List<DormStorey> list);
}
